x86/AMD: Enable WC+ memory type on family 10 processors
authorBoris Ostrovsky <boris.ostrovsky@amd.com>
Fri, 18 Jan 2013 11:20:58 +0000 (12:20 +0100)
committerBoris Ostrovsky <boris.ostrovsky@amd.com>
Fri, 18 Jan 2013 11:20:58 +0000 (12:20 +0100)
commitd3f3afe72d93afb0b9b88f913c925c0ce45c0eee
treecef2752321b2ebb656dc9ec71f54c9e1390bae3d
parent3378685f25b34ce1f1462ee5284c2289f5a1ddc7
x86/AMD: Enable WC+ memory type on family 10 processors

In some cases BIOS may not enable WC+ memory type on family 10 processors,
instead converting what would be WC+ memory to CD type. On guests using
nested pages this could result in performance degradation. This patch
enables WC+.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@amd.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/amd.c
xen/include/asm-x86/msr-index.h